﻿<%@ Page Title="" Language="C#" MasterPageFile="Master.master" AutoEventWireup="true" CodeFile="keydealer.aspx.cs" Inherits="keydealer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <script src="script/JScript.js"></script>

    <div>

        <table class="table_key" >
            
            
            <%--row1--%>
            <tr>

                <td id="space">
                    1</td>

                <td id="status">
                    บ</td>

                <td id="number">
                    <asp:TextBox ID="txt_num11" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="txt_key11" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    total
                </td>
                
              
                <td id="space">31</td>

               
                <td id="status">
                    ล</td>
              
                 <td id="status">
                     <asp:TextBox ID="txt_num21" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="txt_key21" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    total
                </td>

               
       

            </tr>

            <%--row2--%>
           <tr>

                <td id="space">
                    2</td>

                <td id="status">
                    บ</td>

                <td id="number">
                    <asp:TextBox ID="TextBox3" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox4" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    total
                </td>
                
              
                <td id="space">32</td>

               
                <td id="status">
                    ล</td>
              
                 <td id="number">
                     <asp:TextBox ID="TextBox5" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    total
                </td>

               
   

            </tr>


           <tr>

                <td id="space">
                    3</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox7" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox23" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">33</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox15" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox31" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    4</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox8" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox24" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">34</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox16" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox32" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    5</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox9" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox25" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">35</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox17" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox33" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    6</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox10" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox26" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">36</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox18" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox34" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    7</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox11" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox27" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">37</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox19" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox35" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    8</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox12" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox28" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">38</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox20" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox36" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    9</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox13" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox29" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">39</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox21" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox37" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    10</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox14" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox30" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">40</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox22" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox38" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    11</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox39" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox79" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">41</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox59" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox99" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    12</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox40" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox80" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">42</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox60" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox100" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    13</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox41" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox81" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">43</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox61" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox101" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    14</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox42" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox82" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">44</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox62" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox102" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    15</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox43" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox83" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">45</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox63" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox103" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    16</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox44" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox84" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">46</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox64" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox104" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    17</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox45" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox85" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">47</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox65" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox105" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    18</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox46" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox86" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">48</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox66" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox106" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    19</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox47" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox87" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">49</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox67" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox107" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    20</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox48" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox88" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">50</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox68" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox108" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    21</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox49" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox89" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">51</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox69" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox109" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    22</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox50" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox90" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">52</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox70" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox110" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    23</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox51" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox91" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">53</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox71" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox111" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    24</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox52" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox92" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">54</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox72" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox112" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    25</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox53" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox93" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">55</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox73" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox113" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    26</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox54" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox94" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">56</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox74" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox114" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    27</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox55" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox95" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">57</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox75" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox115" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    28</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox56" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox96" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">58</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox76" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox116" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    29</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox57" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox97" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">59</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox77" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox117" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


           <tr>

                <td id="space">
                    30</td>

                <td id="status">
                    &nbsp;</td>

                <td id="number">
                    <asp:TextBox ID="TextBox58" runat="server" Width="50px"></asp:TextBox>
                </td>
                
                <td id="key">
                    <asp:TextBox ID="TextBox98" runat="server" Width="150px"></asp:TextBox>
                </td>

                <td id="total">
                    &nbsp;</td>
                
              
                <td id="space">60</td>

               
                <td id="status">
                    &nbsp;</td>
              
                 <td id="number">
                    <asp:TextBox ID="TextBox78" runat="server" Width="50px"></asp:TextBox>
                </td>   
                <td class="key">
                    <asp:TextBox ID="TextBox118" runat="server" Width="150px"></asp:TextBox>
                </td>
                <td id="total">
                    &nbsp;</td>

               
   

            </tr>


        </table>


    </div>



    <div>

        <asp:GridView ID="GridView_Data" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:TextBox ID="txt_col1" runat="server"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:TextBox ID="txt_col2" runat="server"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField></asp:TemplateField>
            </Columns>



        </asp:GridView>

        <asp:GridView ID="GridView1" runat="server"></asp:GridView>
        <br />



        <asp:Label ID="lbl_total" runat="server"  Font-Size="20pt"></asp:Label>



        <asp:Button ID="Button1" runat="server" Text="Button" UseSubmitBehavior="False" />
        <br />
        <asp:TextBox ID="TextBox1" runat="server"
            onkeypress="return EnterEvent(event)" ClientIDMode="Static" Height="22px"></asp:TextBox>

          <script type="text/javascript">


              function EnterEvent(e) {

               //   event = event || window.event;
                  //  var keycode = event.charCode || event.keyCode;

                  alert(e);
                 
                  if (e.which == 13) {
                      document.getElementById('TextBox'+'2').focus();
                    
                     // document.getElementById('<%= lbl_total.ClientID%>').value = '5555';
                     
                  }
                
                 
              }
              </script>
        <asp:TextBox ID="TextBox2" runat="server" ClientIDMode="Static"></asp:TextBox>
        <asp:Button ID="btnsave" runat="server" Text="Button" UseSubmitBehavior="False" />
    </div>


    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
    function calculateGrandTotal() {
        var Amount = 0;
        $("#GridView2 input[name*='txtAmount']").each(function (index) {
            Amount = Amount + parseFloat($(this).val());
        });
        alert(Amount);
    }
</script>

<asp:GridView runat="server" ID="GridView2" AutoGenerateColumns="false">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:TextBox ID="txtName" runat="server" Text='<%# Eval("Name") %>'></asp:TextBox>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:TextBox ID="txtAmount" Text='<%# Eval("number") %>' onkeyup="calculateGrandTotal();"
                    runat="server"></asp:TextBox>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>



    <br />
    <asp:GridView ID="GridView3" runat="server">
    </asp:GridView>



</asp:Content>

